<template>
  <div>
    Home
    <custom-icon icon-type="icondashboard" class="custom-icon" style="color: red" :spin="true"/>
    <br>
    <custom-icon icon-type="el-icon-edit" class="custom-icon" :spin="true"/>
  </div>
</template>

<script>
import { request } from '@/utils/T';
export default {
  name: 'Home',
  mounted() {
    request.get('http://10.164.175.10:7300/mock/5f116a05d6e3442c12c8b4bc/example', { page: 1, pageSize: 10 }).then(res => {
      console.log(res);
    }, err => {
      console.log(err);
    });
  }
};
</script>

<style scoped lang="scss">
.custom-icon{
  font-size: 24px;
  color: blue;
}
</style>
